Class LeadingEigenvector

All Implemented Interfaces:
Processable<Graph,Graph>

public class LeadingEigenvector extends ClusteringAlgorithm
Leading Eigenvector Algorithm for Community Detection, following Mark Newman's "Finding community structure in networks using the eigenvectors of matrices". Uses JAMA to calculate leading eigenvectors and eigenvalues. For more information see "Finding community structure in networks using the eigenvectors of matrices" by Mark Newman There are also detailed comments and descriptions in: edu.claflin.finder.algo.clustering.struct.leading_eigenvector_struct.LeadingEigenvectorAlgorithm.java
Author:
Samuel Perez
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • process

      public ArrayList<Graph> process(Graph graph)
      Performs community detection using Mark Newman's Leading Eigenvector algorithm on a given Graph object, returning the clustering the highest approximated modularity.
      Parameters:
      graph - the Graph on which community detection will be performed
      Returns:
      the list of Graphs representing the clustering with the highest approximated modularity